package com.qili.service.sys.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.sys.SysUserCertificate;
import com.qili.mapper.sys.SysUserCertificateMapper;
import com.qili.service.sys.SysUserCertificateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuyang
 * @date 2020/12/15
 * @description
 */
@Service
public class SysUserCertificateServiceImpl extends BaseServiceImpl<SysUserCertificate,String> implements SysUserCertificateService {
    @Autowired
    private SysUserCertificateMapper sysUserCertificateMapper;
    @Override
    public BaseMapper<SysUserCertificate, String> getMappser() {
        return sysUserCertificateMapper;
    }

    @Override
    public List<SysUserCertificate> selectUserCert(SysUserCertificate userCertificate) {
        return sysUserCertificateMapper.selectUserCert(userCertificate);
    }
}
